hackerrank is this a binary search tree problem solution

welcome to shbcf.ru